package bs.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 
 * User:
 *
 * @author 姜治昊
 * @time 2017年11月4日 上午11:13:15
 */
public class User implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer userId;
	
	private String userName;
	
	private Date userBirth;
	
	private String userGender;
	
	private String userTel;
	
	private String userMail;
	
	private String userAddr;
	
	/**
	 * 籍贯
	 */
    private String userNative; 
    
    /**
     * 国籍
     */
    private String userNationality; 
    
    private String userHead;
    
    private String loginName;
    
    private String password;
    
    private Date registTime;
    
    private List<Role> roles;
    

    public List<Role> getRoles() {
		return roles;
	}

	public void setRoles(List<Role> roles) {
		this.roles = roles;
	}

	public User() {
		// TODO Auto-generated constructor stub
	}
    
	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Date getUserBirth() {
		return userBirth;
	}

	public void setUserBirth(Date userBirth) {
		this.userBirth = userBirth;
	}

	public String getUserGender() {
		return userGender;
	}

	public void setUserGender(String userGender) {
		this.userGender = userGender;
	}

	public String getUserTel() {
		return userTel;
	}

	public void setUserTel(String userTel) {
		this.userTel = userTel;
	}

	public String getUserMail() {
		return userMail;
	}

	public void setUserMail(String userMail) {
		this.userMail = userMail;
	}

	public String getUserAddr() {
		return userAddr;
	}

	public void setUserAddr(String userAddr) {
		this.userAddr = userAddr;
	}

	public String getUserNative() {
		return userNative;
	}

	public void setUserNative(String userNative) {
		this.userNative = userNative;
	}

	public String getUserNationality() {
		return userNationality;
	}

	public void setUserNationality(String userNationality) {
		this.userNationality = userNationality;
	}

	public String getUserHead() {
		return userHead;
	}

	public void setUserHead(String userHead) {
		this.userHead = userHead;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getRegistTime() {
		return registTime;
	}

	public void setRegistTime(Date registTime) {
		this.registTime = registTime;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	
}
